#!/bin/sh

echo "1: Set proxy"
echo "2: Clear proxy"
read -p "Please select what to do: " InstallMode

if [ -z $InstallMode ]; then
  $InstallMode=1
fi

set -x

if [ $InstallMode -eq 1 ]; then
	export https_proxy=http://127.0.0.1:8889
	export http_proxy=http://127.0.0.1:8889
else
	unset https_proxy http_proxy
fi
